﻿using System.Windows.Forms;

namespace Foreglance.MVP.Helpers
{
    public static class MessageDialog
    {
        public static bool Confirm(string message)
        {
            return MessageBox.Show(message, "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question,
                                   MessageBoxDefaultButton.Button1) == DialogResult.Yes;
        }
    }
}
